package com.koicarp.university.graduate.service.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @auther liutao
 * @Date 2020-09-08 19:17:04
 */
@Data
@ToString
@ApiModel("分页Vo")
public class PageVo  implements Serializable {
    private static final long serialVersionUID = -2978234559001584037L;

    @ApiModelProperty(value = "页码",required = true)
//    @IsNotNull(message = "页码不能为空")
    public Integer pageNum;

    @ApiModelProperty(value = "每页数量",required = true)
//    @IsNotNull(message = "每页数量不能为空")
    public Integer pageSize;
}
